package com.xiaochi.subject.domain.service;

import com.xiaochi.subject.domain.entity.SubjectCategoryBO;
import com.xiaochi.subject.infra.basic.entity.SubjectCategory;

import java.util.List;

/**
 * 题目分类邻域服务接口
 * @author zqx
 * @since 2024/7/20
 */
public interface SubjectCategoryDomainService {

    void add(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询岗位大类
     * @return
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 更新分类
     * @param subjectCategoryBO
     * @return
     */
    Boolean update(SubjectCategoryBO subjectCategoryBO);

    /**
     * 删除分类
     * @param subjectCategoryBO
     * @return
     */
    Boolean deleted(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询分类及标签
     * @param subjectCategoryBO
     * @return
     */
    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO);
}
